package de.sordul.jobMaster.impl;

import javax.inject.Inject;

import de.sordul.jobMaster.IWordlistDAO;
import de.sordul.jobMaster.JobMasterService;

public class JobMasterServiceDB implements JobMasterService {

	@Inject
	private IWordlistDAO wordlistDAO;
	
	@Override
	public String getJob(String language, String category) {
		return wordlistDAO.readRandom(language, category);
	}

}
